' Simplebot 1
' Gene1. Simple search pattern.
cond
  *.eye3 *.eye5 >
start
  -25 .aimdx store
stop

' Gene2. Simple search pattern part 2
cond
  *.eye7 *.eye5 >
start
  25 .aimdx store
stop

' Gene 3. Move forward
cond
  *.vel 30 <
  *.refeye 5 !=
start
  30 *.vel sub 2 div .up store
stop

' Gene 4. Shoot the food
cond
  *.eye5 40 >
start
  -1 .shoot store
stop

' Gene 5. Reproduce
cond
  *.nrg 5000 >
start
  50 .repro store
stop

' Gene 6. Avoid conspecifics
cond
*.refeye 5 =
start
180 .aimdx store
stop

' Gene 7 wide search 1
cond
*.eye1 *.eye5 >
start
-100 .aimdx store
stop

' Gene 8 wide search 2
cond
*.eye9 *.eye5 >
start
100 .aimdx store
stop

end